load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "mock",
    srcs = [
        "pubsub.go",
        "server.go",
    ],
    importpath = "github.com/pingcap/tidb/pkg/util/topsql/reporter/mock",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/util/logutil",
        "@com_github_pingcap_tipb//go-tipb",
        "@org_golang_google_grpc//:grpc",
        "@org_uber_go_zap//:zap",
    ],
)
